package com.jmp.api.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Builder;
import lombok.Data;
import one.stand.model.CompanyRecruitModel;

import java.util.List;

@Data
@Builder
public class SupplierWebsiteResponse {
    @ApiModelProperty("图片")
    private String photos;
    @ApiModelProperty("公司地址")
    private String address;
    @ApiModelProperty("公司简介")
    private String companyIntroduce;
    @ApiModelProperty("商品简介")
    private String goodsIntroduce;
    private String latitude;
    private String longitude;

    @ApiModelProperty("公司电话")
    private String phone;
    private boolean showRoomState;
    private String showRoomUrl;

    private List<CompanyRecruitModel> recruitModelList;
    @ApiModelProperty(value = "视频列表", dataType = "SupplierWebsiteResponse.Video")
    private List<Video> companyVideoModelList;

    /**
     * 主推
     */
    @ApiModelProperty(value = "主推", dataType = "SupplierWebsiteResponse.Goods")
    private List<Goods> mainGoodsList;

    @Data
    @Builder
    @ApiModel("SupplierWebsiteResponse.Goods")
    public static class Goods {
        private Integer goodsId;
        private String name;
        private String pic;
    }

    @ApiModel("SupplierWebsiteResponse.Video")
    @Data
    @Builder
    public static class Video {
        private Integer videoId;
        private String url;
        private String describes;
        private String cover;
        private Integer sort;
    }
}
